package com.frxuexi.park2302.news

import com.frxuexi.lib_base.entity.NewsBeanItem
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class NewsIntent:IUiIntent {
    data object getNews:NewsIntent()

    data class getNewsByKey(val key:String):NewsIntent()

    data class addNews(val item:NewsBeanItem):NewsIntent()
    data class revokeNews(val id:Int):NewsIntent()
}